Here are some guidelines to follow if you choose to design custom icons for use with Icon Services.
You must provide at least one of the following icon types: 'ICN#'
, 'ics#'
, or 'icl#'
.
If you provide a
deep mask, all of the non-transparent pixels in the deep mask should correspond to a black pixel in the black-and-white mask. This is important for
hit-testing and proper erasing and drawing of the icon.
If you provide 32-bit icon data, you should also provide an 8-bit version of the icon. This ensures that the icon can be displayed on an 8-bit display without unwanted dithering.
8-bit icon data is no longer limited to the 34 colors of the classic
icon color palette. All 256 colors from the System palette are available.
4-bit icons are still supported. However, the 4-bit display configuration is rarely used and often unsupported, so we recommend that you do not provide 4-bit icon data. If you don't provide 4-bit icon data, Icon Services will use black-and-white icon data instead.